Continued fraction method of computing square roots